// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import router from './router'
import { Button } from 'element-ui';
import { Select } from 'element-ui';
import { Table } from 'element-ui';
import { TableColumn } from 'element-ui';
import { Tag } from 'element-ui';
import { Link } from 'element-ui';
import { Dialog } from 'element-ui';
import { Divider } from 'element-ui';
import { Form } from 'element-ui';


Vue.component(Button.name, Button);
Vue.component(Select.name, Select);
Vue.use(Table);
Vue.use(TableColumn);
Vue.use(Tag);
Vue.use(Link);
Vue.use(Dialog);
Vue.use(ElementUI);
Vue.use(Divider);
Vue.use(Form);

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
